<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue2.6.12.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			.aa-enter-active{
				animation: aaa 1.5s;
			}
			.aa-leave-active{
				animation: aaa 1.5s reverse;
			}
			@keyframes aaa{
				0% {
					opacity: 0;
					transform: translateX(100px);
				}
				100% {
					opacity: 1;
					transform: translateX(0px);
				}
			}
		</style>
	</head>
	<body>
		<div id="app">
			<button type="button" @click="isShow=!isShow">点击</button>
			<transition name="aa">
				<div v-show="isShow">1111</div>				
			</transition>
		</div>
	</body>
	<script type="text/javascript">
		var vm =new Vue({
			el:'#app',
			data:{
				isShow:true,
			},
			methods:{
				
			}
		})
	</script>
</html>
